@import "../../../styles/variable";

.main-banner {
  width: 100%;
  height: 440px;
  position: relative;

  .banner-swiper {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    .banner-swiper-item {
      width: 100%;
      height: 100%;
      position: relative;

      .banner-img {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #e3e3e3;
      }
      .inner {
        position: absolute;
        z-index: 10;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        .play-icon {
          width: 110px;
          height: 110px;
        }
      }
    }
  }
  .banner-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    height: 20px;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    .dot-item {
      width: 24px;
      height: 6px;
      border-radius: 2px;
      background-color: @colorE7E7E7;
      margin-left: 10px;
      margin-right: 10px;
    }
    .dot-item_current {
      background-color: @colorWhite;
    }
  }
}
.banner-tips {
  width: 100%;
  height: 80px;
  background-color: @colorWhite;
  .flex(row, center, center);

  .icon {
    width: 40px;
    height: 40px;
    margin-right: 12px;
  }
  .title {
    font-size: @font28;
    line-height: 80px;
    color: @color934900;
    font-family: @fontFamilyLight;
  }
}
.section {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  background-color: @colorWhite;
}
.base-section {
  .title {
    font-size: @font36;
    color: @color333;
    line-height: 1.4;
    margin: 20px 30px 0 30px;
  }
  .item {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 8px;
    &.center {
      .left .left-item {
        line-height: 42px;
        color: @colorD0021B;
        align-items: center;
        &:first-child {
          font-size: 32px;
        }
        &:last-child {
          font-size: 24px;
        }
      }
    }
    .left {
      margin-left: 30px;
      flex: 1;
      height: 100%;
      display: flex;
      flex-direction: row;
      align-items: center;
      .left-item {
        font-size: 24px;
        color: @color666;
        line-height: 32px;
        margin-right: 20px;
      }
    }
    .right {
      margin-right: 30px;
      font-size: @font24;
      color: @color666;
    }
  }
  .tag-content {
    display: flex;
    flex-direction: row;
    .tag-title {
      margin-top: 16px;
      margin-right: 30px;
      margin-left: 30px;
      font-size: @font26;
      line-height: 40px;
      color: @color333;
    }
    .tag-list {
      flex: 1;
      line-height: 40px;
      margin: 16px 30px 20px 0;
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;

      .tag-item {
        font-size: 26px;
        margin-right: 20px;
        color: @color934900;
      }
    }
  }

}
.trade-section {
  height: 190px;
  .title {
    font-size: @font30;
    color: @color333;
    margin: 20px 30px 0 30px;
  }
  .bottom {
    margin-left: 30px;
    margin-right: 30px;
    height: 110px;
    display: flex;
    flex-direction: row;
    align-items: center;
    .item {
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      margin-right: 70px;
      .top-title {
        font-size: @font26;
        color: @color999;
        line-height: 39px;
      }
      .bottom-total {
        margin-top: 8px;
        font-size: @font28;
        color: @color666;
        line-height: 39px;
      }
    }
  }
}
.standard-section {
  .header {
    height: 90px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    .left-title {
      font-size: @font30;
      color: @color333;
      margin-left: 30px;
    }
    .right {
      height: 100%;
      display: flex;
      flex-direction: row;
      align-items: center;
      .right-title {
        margin-left: 30px;
        margin-right: 30px;
        font-size: @font26;
        color: @color333;
      }
    }
  }
  .standard-list {
    display: flex;
    flex-direction: column;
    align-items: center;

    .standard-item {
      width: 100%;
      height: 102px;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      &.standard-item_less {
        background-color: @colorFFF3F3;
      }
      .left {
        margin-left: 30px;
        display: flex;
        flex-direction: column;
        .title {
          font-size: @font28;
          color: @color333;
          line-height: 40px;
        }
        .bottom {
          display: flex;
          flex-direction: row;
          align-items: center;
          line-height: 34px;
          font-size: @font24;
          color: @color999;
          .bottom-item {
            margin-right: 20px;
          }
        }
      }
      .right {
        margin-right: 30px;
      }
    }
  }
  .standard-footer {
    height: 100px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    .item {
      display: flex;
      flex-direction: row;
      align-items: center;
      margin-right: 20px;
      line-height: 36px;
      &:last-child {
        margin-right: 30px;
      }
      .title {
        font-size: @font26;
        color: @color333;
      }
      .item-value {
        font-size: @font32;
        color: @colorD0021B;
      }
    }
  }
}
.detail-section {
  .detail-header {
    height: 100px;
    width: 100%;
    display: flex;
    flex-direction: row;
    .detail-bar {
      flex: 1;
      height: 100%;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      color: @color333;
      &.detail-bar_sel {
        color: @color934900;
        .line {
          background-color: @color934900;
        }
      }
      .content {
        position: relative;
        height: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        font-size: @font30;
      }
      .line {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 4px;
        background-color: transparent;
      }
    }
  }
}
.fixed-bottom {
  position: fixed;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: @colorWhite;
  z-index: 2000;
  .bottom-content {
    height: 96px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    .left {
      flex: 1;
      height: 100%;
      display: flex;
      flex-direction: row;
      .cell-item {
        position: relative;
        width: 96px;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: transparent;
        .unread-content {
          position: absolute;
          left: 54px;
          top: 8px;
          height: 28px;
          min-width: 28px;
          font-size: 24px;
          line-height: 1.0;
          color: @colorD0021B;
          display: flex;
          align-items: center;
          justify-content: center;
          background-color: @colorWhite;
          border-radius: 50px;
          .unread-title {
            margin: 0 6px;
          }
          &:before {
            content: " ";
            position: absolute;
            left: 0;
            top: 0;
            width: 200%;
            height: 200%;
            border: 1Px solid @colorD0021B;
            box-sizing: border-box;
            border-radius: 100px;
            transform: scale(0.5);
            transform-origin: 0 0;
          }
        }
        &:first-child {
          margin-left: 20px;
        }
        .cell-icon {
          width: 48px;
          height: 48px;
        }
        .title {
          font-size: @font20;
          color: @color666;
          font-family: @fontFamilyLight;
          line-height: 28px;
        }
      }
    }
    .add-btn {
      width: 280px !important;
    }
  }
}
